package com.barcamp.manager;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import com.barcamp.dao.UserDao;
import com.barcamp.entity.User;

public class UserManager extends SqlMapClientDaoSupport
{
	private UserDao userdao;
	private List<User> userlist;
	//getter and setter
	public List<User> getUserlist() {
		return userlist;
	}
	public void setUserlist(List<User> userlist) {
		this.userlist = userlist;
	}
	public UserDao getUserdao() {
		return userdao;
	}
	public void setUserdao(UserDao userdao) {
		this.userdao = userdao;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	private User user;
	
	public List<User> login(User user)
	{
		return userlist;
	}
}
